package com.jinzecloud.reportapproval.bean;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class DataStaging {

    @TableId(type = IdType.AUTO)
    private String id;

    private String tableId;

    private String externalId;

    private String data;

    public JSONObject getData() {
        return JSONObject.parseObject(data);
    }

}
